package com.yic.module.mes.controller.admin.itemproduce.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.yic.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

import static com.yic.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 产品生产信息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ItemProducePageReqVO extends PageParam {

    @Schema(description = "工厂", example = "1876")
    private Long factoryId;

    @Schema(description = "生产车间", example = "31612")
    private Long workshopId;

    @Schema(description = "产品信息", example = "4249")
    private Long itemId;

    @Schema(description = "质检模式", example = "2")
    private Integer qualityType;

    @Schema(description = "领料模式", example = "2")
    private Integer pickingType;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
